﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LinqToSqlTest
{
    class Program
    {
        static void Main(string[] args)
        {
            DBTestUser user = new DBTestUser {Email = "abasdasd", Password = "asdasdad", Username = "User"};
            AddNewUser(user);
        }

        private static void AddNewUser(DBTestUser user)
        {
            TestDBEntities entities = new TestDBEntities();
            entities.DBTestUser.Add(user);
            entities.SaveChanges();


        }
    }
}
